package com.info.zhiduoduo.repository.entity.system;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author tianyonghong
 * @create 2022/3/24
 */
@Data
@Accessors(chain = true)
@TableName("zdd_tax_source")
public class TaxSource extends Model<TaxSource> {

    @TableId(value = "tax_source_id", type = IdType.AUTO)
    private Integer taxSourceId;

    /**
     * 税源地名称
     */
    private String taxSourceName;


    /**
     * 成本费率
     */
    @TableField("tax_source_cost_rate")
    private BigDecimal taxSourceCostRate;

    @ApiModelProperty("所属园区")
    private String affiliatedPark;

    @ApiModelProperty("部门")
    private String department;

    @ApiModelProperty("业务员")
    private String salesman;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
